package com.xlh.param.courseTest;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhr 2019/2/13
 */
@Data
public class QuestionRepositoryUpdateQuestionParam {
    @NotBlank(message = "请填写试题题目描述")
    private String content;

    @NotBlank(message = "请填写试题题目描述")
    private String htmlContent;

    @NotNull(message = "请选择章节")
    private Long chapterId;
    private String jxContent;
    private String jxContentHtml;
    private List<QuestionAnswerParam> answer;
}
